import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  { path: '/', redirect: '/disassembly' },
  { path: '/disassembly', component: () => import('../views/DisassemblyView.vue') },
  { path: '/listing', component: () => import('../views/ListingView.vue') },
  { path: '/listed', component: () => import('../views/ListedView.vue') },
  { path: '/installation', component: () => import('../views/InstallationView.vue') },
  { path: '/settlement', component: () => import('../views/SettlementView.vue') },
  { path: '/archive', component: () => import('../views/ArchiveView.vue') },
]

const router = createRouter({
  history: createWebHistory(),
  routes,
})

export default router


